<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>老猫系统</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link href="/css/com.css" type="text/css" rel="stylesheet">
    <style>
        .layui-laypage li{float: left;}
        .layui-laypage .active span{background: #009688; color: #fff;}
    </style>
    <script src="/js/jquery.js"></script>
</head>
<body>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>订单列表</legend>
</fieldset>

<table class="layui-table">
    <colgroup>
        <col width="50">
        <col width="50">
        <col width="400">
        <col width="100">
        <col width="50">
        <col width="50">
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>订单id</th>
        <th>商品id</th>
        <th>商品名称</th>
        <th>会员id</th>
        <th>总价格</th>
        <th>购买数量</th>

    </tr>
    </thead>
    <tbody>
    {volist name='list' id='o'}
    <tr>
        <td>{$o.order_id}</td>
        <td>{$o.goods_id}</td>
        <td>{$o.goods_title}</td>
        <td>{$o.mem_id}</td>
        <td>{$o.total_price}</td>
        <td>{$o.total_num}</td>
    </tr>
    {/volist}
    </tbody>
</table>

<ul class="layui-box layui-laypage layui-laypage-default">
    {$list|raw}
</ul>

{include file="bottom"}
</body>
</html>